package com.jmb.waimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Email address entity
 */
@Data
@TableName("email_address")
public class EmailAddress {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * Email address
     */
    private String email;
    
    /**
     * Name of the recipient (optional)
     */
    private String name;
    
    /**
     * Group or category for the email address
     */
    private String groupName;
    
    /**
     * Additional information
     */
    private String remark;
    
    /**
     * Creation time
     */
    private LocalDateTime createTime;
    
    /**
     * Update time
     */
    private LocalDateTime updateTime;
    
    /**
     * Logical delete flag (0: not deleted, 1: deleted)
     */
    private Integer deleted;
}
